<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1 , user-scalable=no">
    <title>bootstrap项目实战</title>
    <link rel="stylesheet" href="css/bootstrap.css"/>
    <link rel="stylesheet" href="css/bootstrap-maizi.css"/>
    <link rel="stylesheet" href="css/style2.css">
    <script type="text/javascript" src="js/laydate/laydate.js"></script>
</head>
<body style="overflow:auto">
<!--导航-->
<nav class="navbar navbar-default">
    <div class="container">
        <!--小屏幕导航按钮和logo-->
        <div class="navbar-header">
            <button class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a href="#" class="navbar-brand">同享发票管理</a>
        </div>
        <!--小屏幕导航按钮和logo-->
<!--        导航-->
        <div class="navbar-collapse collapse">

            <ul class="nav navbar-nav navbar-right">
                <li class="dropdown">

                <li><a href="#bbs" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" target="_self" tongji_tag="pc_topbar_log_login">登录</a></li>
                <li><span class="gap">|</span></li>
                <li><a href="#bbs"  target="_self" tongji_tag="pc_topbar_log_reg">注册</a></li>
            </ul>
        </div>
        <!--导航-->

    </div>
</nav>
<!--导航-->
<div class="container">
    <div class="row">
        <div class="col-md-12">
            <form action="#" class="mar_t15">
                <div class="tx_title">
                    <div class="headerMiddle">
                        <h3>开票申请</h3>
                        <div class="line"></div>
                    </div>
                </div>
                <table class="table table-bordered">
                    <tr>
                        <td width="10%" align="right" nowrap="nowrap" bgcolor="#f1f1f1">开票日期:</td>
                        <td width="23%"><input type="text"  class="laydate-icon span1-1" id="Calendar" placeholder="请输入日期"  /></td>
                        <td width="10%" align="right" nowrap="nowrap" bgcolor="#f1f1f1">开票人:</td>
                        <td width="23%"><input type="text" name="" id="" class="span1-1"  /></td>
                        <td width="10%" align="right" nowrap="nowrap" bgcolor="#f1f1f1">客&nbsp&nbsp户:</td>
                        <td><input type="text" name="" id="" class="span1-1"  /></td>
                    </tr>
                    <tr>
                        <td align="right" nowrap="nowrap" bgcolor="#f1f1f1">余&nbsp&nbsp额:</td>
                        <td><input type="text" name="" id=""  class="span1-1" /></td>
                        <td align="right" nowrap="nowrap" bgcolor="#f1f1f1">抬头:</td>
                        <td><input type="text" name="" id=""  class="span1-1" /></td>
                        <td align="right" nowrap="nowrap" bgcolor="#f1f1f1">开票金额:</td>
                        <td><input type="text" name="" id=""  class="span1-1" /></td>
                    </tr>
                    <tr>
                        <td align="right" nowrap="nowrap" bgcolor="#f1f1f1">识别号:</td>
                        <td><input type="text" name="input" id="input"  class="span1-1" /></td>
                        <td align="right" nowrap="nowrap" bgcolor="#f1f1f1">开户行:</td>
                        <td><input type="text" name="input2" id="input2"  class="span1-1" /></td>
                        <td align="right" nowrap="nowrap" bgcolor="#f1f1f1">帐号:</td>
                        <td><input type="text" name="input3" id="input3" class="span1-1"  /></td>
                    </tr>
                    <tr>
                        <td align="right" nowrap="nowrap" bgcolor="#f1f1f1">电话:</td>
                        <td><input type="text" name="input" id="input4"  class="span1-1" /></td>
                        <td align="right" nowrap="nowrap" bgcolor="#f1f1f1">地址:</td>
                        <td><input type="text" name="input2" id="input5"  class="span1-1" /></td>
                        <td align="right" nowrap="nowrap" bgcolor="#f1f1f1">数量:</td>
<!--                        <td><input type="text" name="input3" id="input6" class="span1-1"  /></td>-->
                        <td ><input type="text" name="input5" id="input6" class="span1 text-center" value="1" /> 张</td>
                    </tr>
                </table>


                <div class="checkbox">
                    <label>
                        <input type="checkbox">全局置顶
                    </label>
                    <button type="submit" class="btn btn-default pull-right">提交票据</button>

                </div>
            </form>

        </div>
    </div>
</div>

<section class="rt_wrap content mCustomScrollbar">
    <div class="rt_content">
        <div class="page_title">
            <h2 class="">同享发票列表</h2>
            <!--                    <a class="fr top_rt_btn add_icon">添加发票</a>-->
        </div>
        <section class="mtb">
            <select class="select">
                <option>发票状态</option>
                <option>待开</option>
                <option>已开</option>
                <option>待评价</option>
            </select>
            <input type="text" class="textbox textbox_225" placeholder="输入订单编号或收件人姓名/电话..."/>
            <input type="button" value="查询" class="group_btn"/>
        </section>
        <table class="table">
            <tr>
                <th>订单编号</th>
                <th >开票日期</th>
                <th>开票人</th>
                <th>客户</th>
                <th>余额</th>
                <th>抬头</th>
                <th>识别号</th>
                <th>开户行</th>
                <th>帐号</th>
                <th>开票金额</th>
                <th>地址</th>
                <th>电话</th>
                <th>数量</th>
                <th>操作员</th>
            </tr>
           <?php

              foreach($res as $Home){
              ?>
            <tr>
                <td class='center' ><?php echo $Home['id']; ?></td>
                <td title='' ><?php echo $Home['date_tx']; ?></td>
                <td ><?php echo $Home['drawer_tx']; ?></td>
                <td class='center'  title=''><?php echo $Home['client_tx']; ?></td>
                <td class='center'  title=''><?php echo $Home['currency_tx']; ?></td>
                <td><strong class='rmb_icon'><?php echo $Home['order_tx']; ?></strong></td>

                <td><?php echo $Home['identify_tx']; ?></td>
                <td><?php echo $Home['obank_tx']; ?></td>
                <td><?php echo $Home['obank_num_tx']; ?></td>
                <td><?php echo $Home['const_money_tx']; ?></td>
                <td><?php echo $Home['addres_tx']; ?></td>
                <td><?php echo $Home['tel_tx']; ?></td>
                <td><?php echo $Home['num']; ?></td>
                <td><?php echo $Home['user_id']; ?></td>

<!--                                        <td class='center'>-->
<!--                                            <a href='#' title='查看订单' class='link_icon' target='_blank'>&#118;</a>-->
<!--                                            <a href='#' title='删除' class='link_icon'>&#100;</a>-->
<!--                                        </td>-->
            </tr>
            <?php }?>
        </table>
        <aside class="paging">
            <a href='index.php?p=1' target='_Self' >首页</a> |
            <a href='index.php?p=<?php echo $page->prevpage;?>'target='_Self' >上一页</a> |
            <a href='index.php?p=<?php echo $page->nextpage;?>' target='_Self'>下一页</a> |
            <a href='index.php?p=<?php echo $page->pagenum;?>' target='_Self'>末页</a>
        </aside>

    </div>
</section>
<footer>
    <div class="container">
        <div class="row">
            <div class="col-md-12">
                <p>
                    Copyright&nbsp;©&nbsp;2020-2020&nbsp;&nbsp;www.TongxiangFPsys.com&nbsp;&nbsp;琼ICP备******号-1
                </p>
            </div>
        </div>
    </div>
</footer>
<script src="http://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script>
    !function(){
        laydate.skin('molv');
        laydate({elem: '#Calendar'});
    }();

</script>
</body>
</html>